﻿using System;
using System.Collections.Generic;
 
namespace GameProtocol
{
    /// <summary>
    /// 登录协议
    /// </summary>
    public class LoginProtocol
    {
        /// <summary>客户端申请登录</summary>
        public const int LOGIN_CREQ = 0;
        /// <summary>服务器反馈给客户端 登录结果</summary>
        public const int LOGIN_SRES = 1;
        /// <summary>客户端申请注册</summary>
        public const int REG_CREQ = 2;
        /// <summary>服务器反馈给客户端 注册结果</summary>
        public const int REG_SRES = 3;
        /// <summary>服务器和客户端握手</summary>
        public const int HAND_SHAKE_SRES = 4;
        /// <summary>客户端和服务器握手</summary>
        public const int HAND_SHAKE_CREQ = 5;
    }
}
